# 使用while循环打印九九乘法口诀表
x = 1
while x <= 9:
    y = 1
    while y <= x:
        print(y,"*",x,"=",x*y,end=" ")
        y+=1
    x+=1
    print()